<template name="app_list_item">
  <li class="list-group-item d-flex align-items-center py-2">
    <img class="rounded mr-3" src="{{result.avatar}}" width="40">
    <b class="mr-3">{{result.name}}</b>
    <span class="text-muted">{{result.details.description}}</span>
    {{#if hasApp}}
      <span class="ml-auto">已安装</span>
    {{else}}
      <a class="install-app ml-auto" href="#">安装</a>
    {{/if}}
  </li>
</template>